package test;

import com.example.excel.annotation.Excel;
import com.example.excel.annotation.ExcelCell;
import com.example.excel.annotation.ExcelSheet;

@Excel({@ExcelSheet(startRow = 1, sheetIndex = 1),
        @ExcelSheet(sheetIndex = 2, startRow = 22, endRow = 46)
})
public class StudentInfo {

    @ExcelCell(value = 0)
    private String Num;

    @ExcelCell(value = 1)
    private String userName;

    @ExcelCell(2)
    private String sex;

    @ExcelCell(3)
    private String age;

    @ExcelCell(4)
    private String birthDay;

    @ExcelCell(5)
    private String grade;

    @ExcelCell(6)
    private String ifPass;

    public String getNum() {
        return Num;
    }

    public void setNum(String num) {
        Num = num;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(String birthDay) {
        this.birthDay = birthDay;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getIfPass() {
        return ifPass;
    }

    public void setIfPass(String ifPass) {
        this.ifPass = ifPass;
    }

    @Override
    public String toString() {
        return "StudentInfo{" +
                "Num='" + Num + '\'' +
                ", userName='" + userName + '\'' +
                ", sex='" + sex + '\'' +
                ", age='" + age + '\'' +
                ", birthDay='" + birthDay + '\'' +
                ", grade='" + grade + '\'' +
                ", ifPass='" + ifPass + '\'' +
                '}';
    }
}
